'use strict';
let mongoose = require('mongoose');

let schema = new mongoose.Schema({
    key: {
        type: String,
        required: true
    },
    value: String
}, {versionKey: false});

schema.index({key: 1}, {unique: true});

schema.statics = {};

module.exports = schema;